package top.hihuzi.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import top.hihuzi.service.TestServer;

@RestController
public class TestController {
    @Autowired
    TestServer testServer;

    @RequestMapping("/feign")
    public String toto() {
        return testServer.toto();
    }
}
